﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
using System.ComponentModel;

namespace DLL
{
    public partial class Bill
    {
        public int TotalPrice { get; set; }

        public string TotalMoney 
        { 
            get 
            {
                if (Id > 0)
                {
                    return TotalPrice.ToString("#,0 Đ", new CultureInfo("en-US"));
                }
                else
                {
                    return "Chọn khách hàng";
                }
            } 
        }
    }
}
